Optimal. Leaf size=89 \[ \frac{\sec ^2(c+d x) \sqrt{a+b \sin ^4(c+d x)}}{2 d (a+b)}-\frac{a \tanh ^{-1}\left (\frac{a+b \sin ^2(c+d x)}{\sqrt{a+b} \sqrt{a+b \sin ^4(c+d x)}}\right )}{2 d (a+b)^{3/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.116921, antiderivative size = 89, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 4, integrand size = 25, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.16, Rules used = {3229, 807, 725, 206} \[ \frac{\sec ^2(c+d x) \sqrt{a+b \sin ^4(c+d x)}}{2 d (a+b)}-\frac{a \tanh ^{-1}\left (\frac{a+b \sin ^2(c+d x)}{\sqrt{a+b} \sqrt{a+b \sin ^4(c+d x)}}\right )}{2 d (a+b)^{3/2}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3229
Rule 807
Rule 725
Rule 206
Rubi steps
\begin{align*} \int \frac{\tan ^3(c+d x)}{\sqrt{a+b \sin ^4(c+d x)}} \, dx &=\frac{\operatorname{Subst}\left (\int \frac{x}{(1-x)^2 \sqrt{a+b x^2}} \, dx,x,\sin ^2(c+d x)\right )}{2 d}\\ &=\frac{\sec ^2(c+d x) \sqrt{a+b \sin ^4(c+d x)}}{2 (a+b) d}-\frac{a \operatorname{Subst}\left (\int \frac{1}{(1-x) \sqrt{a+b x^2}} \, dx,x,\sin ^2(c+d x)\right )}{2 (a+b) d}\\ &=\frac{\sec ^2(c+d x) \sqrt{a+b \sin ^4(c+d x)}}{2 (a+b) d}+\frac{a \operatorname{Subst}\left (\int \frac{1}{a+b-x^2} \, dx,x,\frac{-a-b \sin ^2(c+d x)}{\sqrt{a+b \sin ^4(c+d x)}}\right )}{2 (a+b) d}\\ &=-\frac{a \tanh ^{-1}\left (\frac{a+b \sin ^2(c+d x)}{\sqrt{a+b} \sqrt{a+b \sin ^4(c+d x)}}\right )}{2 (a+b)^{3/2} d}+\frac{\sec ^2(c+d x) \sqrt{a+b \sin ^4(c+d x)}}{2 (a+b) d}\\ \end{align*}
Mathematica [A] time = 0.185625, size = 85, normalized size = 0.96 \[ -\frac{\frac{a \tanh ^{-1}\left (\frac{a+b \sin ^2(c+d x)}{\sqrt{a+b} \sqrt{a+b \sin ^4(c+d x)}}\right )}{(a+b)^{3/2}}-\frac{\sec ^2(c+d x) \sqrt{a+b \sin ^4(c+d x)}}{a+b}}{2 d} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.72, size = 0, normalized size = 0. \begin{align*} \int{ \left ( \tan \left ( dx+c \right ) \right ) ^{3}{\frac{1}{\sqrt{a+b \left ( \sin \left ( dx+c \right ) \right ) ^{4}}}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 3.04745, size = 895, normalized size = 10.06 \begin{align*} \left [\frac{\sqrt{a + b} a \cos \left (d x + c\right )^{2} \log \left (\frac{{\left (a b + 2 \, b^{2}\right )} \cos \left (d x + c\right )^{4} - 4 \,{\left (a b + b^{2}\right )} \cos \left (d x + c\right )^{2} + 2 \, \sqrt{b \cos \left (d x + c\right )^{4} - 2 \, b \cos \left (d x + c\right )^{2} + a + b}{\left (b \cos \left (d x + c\right )^{2} - a - b\right )} \sqrt{a + b} + 2 \, a^{2} + 4 \, a b + 2 \, b^{2}}{\cos \left (d x + c\right )^{4}}\right ) + 2 \, \sqrt{b \cos \left (d x + c\right )^{4} - 2 \, b \cos \left (d x + c\right )^{2} + a + b}{\left (a + b\right )}}{4 \,{\left (a^{2} + 2 \, a b + b^{2}\right )} d \cos \left (d x + c\right )^{2}}, -\frac{a \sqrt{-a - b} \arctan \left (\frac{\sqrt{b \cos \left (d x + c\right )^{4} - 2 \, b \cos \left (d x + c\right )^{2} + a + b}{\left (b \cos \left (d x + c\right )^{2} - a - b\right )} \sqrt{-a - b}}{{\left (a b + b^{2}\right )} \cos \left (d x + c\right )^{4} - 2 \,{\left (a b + b^{2}\right )} \cos \left (d x + c\right )^{2} + a^{2} + 2 \, a b + b^{2}}\right ) \cos \left (d x + c\right )^{2} - \sqrt{b \cos \left (d x + c\right )^{4} - 2 \, b \cos \left (d x + c\right )^{2} + a + b}{\left (a + b\right )}}{2 \,{\left (a^{2} + 2 \, a b + b^{2}\right )} d \cos \left (d x + c\right )^{2}}\right ] \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\tan ^{3}{\left (c + d x \right )}}{\sqrt{a + b \sin ^{4}{\left (c + d x \right )}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\tan \left (d x + c\right )^{3}}{\sqrt{b \sin \left (d x + c\right )^{4} + a}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]